package com.cqut.hfh.ordering.pojo;

import com.cqut.li.mybatisutil.entity.base.Entity;
import java.math.BigDecimal;
import java.util.Date;

public class FoodDetail extends Entity {
    private String detail_id;

    private String food_id;

    private String indent_id;

    private BigDecimal food_price;

    private Integer food_num;

    private Integer isva;

    private Date optime;

    private String oper;

    private Integer sort;

    private static final long serialVersionUID = 1L;

    public String getDetail_id() {
        return detail_id;
    }

    public void setDetail_id(String detail_id) {
        this.detail_id = detail_id == null ? null : detail_id.trim();
    }

    public String getFood_id() {
        return food_id;
    }

    public void setFood_id(String food_id) {
        this.food_id = food_id == null ? null : food_id.trim();
    }

    public String getIndent_id() {
        return indent_id;
    }

    public void setIndent_id(String indent_id) {
        this.indent_id = indent_id == null ? null : indent_id.trim();
    }

    public BigDecimal getFood_price() {
        return food_price;
    }

    public void setFood_price(BigDecimal food_price) {
        this.food_price = food_price;
    }

    public Integer getFood_num() {
        return food_num;
    }

    public void setFood_num(Integer food_num) {
        this.food_num = food_num;
    }

    public Integer getIsva() {
        return isva;
    }

    public void setIsva(Integer isva) {
        this.isva = isva;
    }

    public Date getOptime() {
        return optime;
    }

    public void setOptime(Date optime) {
        this.optime = optime;
    }

    public String getOper() {
        return oper;
    }

    public void setOper(String oper) {
        this.oper = oper == null ? null : oper.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String getTableName() {
        return "fod_detail";
    }

    @Override
    public String getPrimaryKey() {
        return "detail_id";
    }
}